package cn.lanqiao.springbootproject.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.HashSet;

@Mapper
public interface UserArticleMapper {

    @Select("select user_id from user_article where article_id = #{articleId}")
    HashSet<Integer> queryByArticleId(int articleId);
}
